package com.xwj.entity;

import java.io.Serializable;

/**
 * Created by thinkjoy on 2017/7/7.
 */
public class UserInfo implements Serializable {

    private static final long serialVersionUID = -7303995771628983143L;
    private int id;
    private String accountid;
    private String username;
    private String password;
    private String salt;
    private String sex;
    private int age;
    private int roleid;
    private String phone;
    private String mail;
    private String photo;
    private String address;
    private String del_flag;
    private String createtime;
    private RaRole raRole;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccountid() {
        return accountid;
    }

    public void setAccountid(String accountid) {
        this.accountid = accountid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getRoleid() {
        return roleid;
    }

    public void setRoleid(int roleid) {
        this.roleid = roleid;
    }

    public RaRole getRaRole() {
        return raRole;
    }

    public void setRaRole(RaRole raRole) {
        this.raRole = raRole;
    }

    public String getDel_flag() {
        return del_flag;
    }

    public void setDel_flag(String del_flag) {
        this.del_flag = del_flag;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "id=" + id +
                ", accountid='" + accountid + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", salt='" + salt + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", roleid=" + roleid +
                ", phone='" + phone + '\'' +
                ", mail='" + mail + '\'' +
                ", photo='" + photo + '\'' +
                ", address='" + address + '\'' +
                ", del_flag='" + del_flag + '\'' +
                ", createtime='" + createtime + '\'' +
                ", raRole=" + raRole +
                '}';
    }
}
